import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
	lattice: [{ required: true, message: "配发格口为必填项", trigger: "blur" }],
	lineNumber: [{ required: true, message: "线体号为必填项", trigger: "blur" }],
	wheel: [{ required: true, message: "新一代为必填项", trigger: "blur" }]
});